package com.rtx.wms.std.transer.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.rtx.wms.customer.grp.handler.transfer.GrpTransferDownHandler;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = {"调拨单"})
@RestController
@RequestMapping("/v1/wms/transfer")
@CrossOrigin
public class ApiTransferController {
	
	@Autowired
	GrpTransferDownHandler grpTransferDownHandler;

    
    @ApiOperation(value = "调拨单创建")
    @PostMapping("/create/std")
    public String transferCreate(HttpServletRequest request){
        return grpTransferDownHandler.create(request);
    }
    
}
